<?php echo $this->headTitle($aryProduct['product_name']);?>
<div class="row row-offcanvas row-offcanvas-right">
    <div class="col-xs-12 col-sm-9">
        <div class="row">
            <div class="col-6 col-sm-6">
                <img style="max-width: 100%" src="/upload/images/medium/<?php echo $aryProduct['product_image'] ?>">
            </div><!--/span-->
            <div class="col-6 col-lg-4">
                <h4><?php echo $aryProduct['product_name']; ?></h4>
                <p>Hãng sản xuất : <a href="<?php echo $this->url('product/product-by-category', array(
                        'cat_id' => $aryProduct['category_id'],
                        'cat_name' => $aryProduct['category_name_filter'],
                        'maker_name' => $aryProduct['product_maker_maker_name_filter']
                ));?>"><?php echo $aryProduct['product_maker_name'];?></a></p>
                <?php if (isset($aryProduct['product_price_sale_of'])) { ?>
                    <p>Giá : <span style="text-decoration: line-through;"><?php echo number_format($aryProduct['product_price'], 0, ',', '.') ?>&nbsp;vnđ</span></p>
                    <p>Giá khuyến mại: <?php echo number_format($aryProduct['product_price_sale_of'], 0, ',', '.') ?>&nbsp;vnđ</p>
                <?php }else{ ?>
                    <p>Giá : <?php echo number_format($aryProduct['product_price'], 0, ',', '.') ?>&nbsp;vnđ</p>
                <?php } ?>
                <p><a role="button" href="#" class="btn btn-default">Đặt hàng »</a></p>
            </div>
        </div>
    </div>
    <div role="navigation" id="" class="col-xs-6 col-sm-3 sidebar-offcanvas">
        <?php include 'category.phtml'; ?>
    </div>
</div>